package com.leyou.user.api;

import com.leyou.user.pojo.User;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @program: leyou
 * @author: Li Wenwen
 * @create: 2019-01-26 19:22
 */
public interface UserApi {
    @GetMapping("query")
    User queryUsernameAddPassword(
            @RequestParam("username") String username,
            @RequestParam("password") String password
    );
}
